package interfaces.repository;

import java.util.List;

import domain.Customer;

public interface CustomerRepository {

	public Customer findByID(int ID);

	public Customer findByLogin(String login);
		
	public Customer HasLogon(String logon);
	
	public boolean VerifyCustomer(String logon, String password);

	public List<Customer> findAllCustomer();

	public List<Customer> findByName(String name);

	public boolean add(Customer customer);

	public boolean edit(Customer before, Customer after);

	public boolean delete(Customer customer);

}
